Search
ShapeDecoration Constructor
See Also
 





Initializes a new instance of the ShapeDecoration class.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public ShapeDecoration (
    ElementTemplate[] elements,
    Brush brush,
    FillMode fillMode,
    Pen pen
)

Visual Basic  Copy Code

Public New ( _
    elements() As ElementTemplate, _
    brush As Brush, _
    fillMode As FillMode, _
    pen As Pen _
)

 Parameters

elements

An array of ElementTemplate objects that define the decoration shape outline.

brush

A Brush object used to fill the decoration shape interior.

fillMode

Specifies how areas are filled if the outline path intersects itself.

pen

A Pen object used to draw the decoration shape outline.

 See Also